import Vue from 'vue';
import Vuex from 'vuex';
import * as getters from './getters';
import * as actions from './actions';
import mutations from './mutations.js';

Vue.use(Vuex);

const state = {
    api: '',
    analyzes:[],
    joinError: false
};

export default new Vuex.Store({
    state,
    getters,
    actions,
    mutations
});
